package core.vols;

import java.util.Hashtable;

import core.Client;
import core.Passager;

public class VolCommercial {
	
	private Hashtable<String, Passager> passagersInscrits;

	public VolCommercial() {
		super();
		passagersInscrits = new Hashtable<String, Passager>();
	}
	
	public void addPassager(Passager c) {
		passagersInscrits.put(c.getNom(), c);
	}
	
	public void removePassager(Passager c) {
		passagersInscrits.remove(c);
	}

}
